((${input$entity} instanceof LivingEntity)?((LivingEntity)${input$entity}).getMaxHealth():-1)